namespace Umdf.ComInterop
{
    using System;
    using System.Runtime.CompilerServices;
    using System.Runtime.InteropServices;

    [ComImport, Guid("4E9F1A77-4587-4235-81C4-E6D24545A656"), InterfaceType((short) 1), TypeLibType((short) 0x200)]
    public interface IRequestCallbackCancel
    {
        [PreserveSig, MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
        void OnCancel([In, MarshalAs(UnmanagedType.Interface)] IWDFIoRequest pWdfRequest);
    }
}

